﻿#ifndef CModelMng_H
#define CModelMng_H
/********************************************************************************
** @ Date:2025/09/11
** @ Author: HanJiaXin
** @ Description:全局模块管理类,将所有的设备统一管理起来
** @ Version:1.0.0
** @ ClassName:
** @ Fun:
********************************************************************************/
#include <QObject>
#include <vlc/vlc.h>
#include "CorrectDevice.h"
#include "CExportResultTh.h"
#include "CLogOper.h"

class CModelMng : public QObject
{
	Q_OBJECT

public:
	static CModelMng& instance()
	{
		static CModelMng instance;
		return instance;
	}

	QVector<CorrectDevice*> m_vecCorrectDev;
	libvlc_instance_t *m_pVlcInstance;
	bool m_bDbInit;//数据库初始化结果

private:
	CModelMng();
	~CModelMng();

	void initCfg();
	CExportResultTh* m_pExportResultTh;
};

#endif